part of '../repository.dart';

const _kWebPaymentMethodPaymentSystemKey = 'payment_system';
const _kWebPaymentMethodIdKey = 'id';
const _kWebPaymentMethodUserIdKey = 'user_id';
const _kWebPaymentMethodSavedKey = 'saved';
const _kWebPaymentMethodTestKey = 'test';
const _kWebPaymentMethodBankCardInfoKey = 'bank_card_info';
const _kWebPaymentMethodFailureKey = 'failure';

abstract class _WebPaymentMethodDto extends Equatable {
  String get id;

  String get userId;

  bool get saved;

  bool get test;

  String get paymentSystem;

  _WebBankCardInfoDto get bankCardInfoDto;

  _WebPaymentMethodFailureDto? get failureDto;

  Map<String, dynamic> toJson();

  WebPaymentMethod toEntity();
}
